package de.lot.action;

import de.lot.model.LoLanguage;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;

/**
 * Class representing full list of languages
 *
 * @see LoLanguage
 * @author Stefan Kohler <kohler.stefan@gmail.com>
 */
@Name("loLanguageList")
public class LoLanguageList extends EntityQuery<LoLanguage> {

    /**
     * String representing a query for a full list of all avbl. languages
     * @return String query
     */
    @Override
    public String getEjbql() {
        return "select loLanguage from LoLanguage loLanguage";
    }
}
